<?php
/**
 * User: zwh
 * Date: 2016-1-25 13:56:27
 */
class OrderRemark extends Eloquent
{
    protected $table = "order_remark";
    
    /**
     * @Author:      zk
     * @DateTime:    18-8-29 下午4:16
     * @Description: 添加订单备注信息
     * @param string    $order_id   订单编号
     * @param string    $user_type  用户类型
     * @param int       $user_id    用户id
     * @param string    $remark     备注说明
     * @param int       $status     订单状态
     * @return boolean
     */
    public static function addOrderRemarkInfo($order_id, $user_type, $user_id, $remark, $status){
        $order_remark = new OrderRemark;
        $order_remark->order_id = $order_id;
        $order_remark->user_type = $user_type;
        $order_remark->user_id = $user_id;
        $order_remark->remark = $remark;
        $order_remark->status = $status;
        
        return $order_remark->save();
    }
    
}